package com.lagou.edu.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * MySecurity
 * 访问权限 注解
 *
 * @author Sinu
 * @Date 2021/6/18
 */
@Target({ElementType.CONSTRUCTOR, ElementType.METHOD, ElementType.PARAMETER, ElementType.FIELD, ElementType.ANNOTATION_TYPE})
@Retention(RetentionPolicy.RUNTIME)
public @interface MySecurity {

    /**
     * 配置 访问权限 用户
     *
     * @return
     */
    String[] value() default {};
}
